﻿using NHibernate.Collection.Generic;

namespace Subfaculty.Common.Entities
{
	public class StudyPlanItem : BaseEntity
	{
		private StudyPlanSemester _semester;
		public StudyPlanItem()
		{

		}

		public virtual Discipline Discipline { get; set; }
		public virtual Department Department { get; set; }

		public virtual StudyPlanSemester Semester
		{
			get { return _semester; }
			set
			{
				_semester = value;
				value.StudyPlanItems.Add(this);
			}
		}

		public virtual int HoursLab { get; set; }
		public virtual int HoursLecture { get; set; }
		public virtual int HoursPractice { get; set; }
		public virtual int HoursSRS { get; set; }

		public virtual ETypeSRS ETypeSRS { get; set; }
		public virtual EStudyControl EStudyControl { get; set; }
	}
}
